<%@ page contentType="text/html; charset=iso-8859-1" language="java"  errorPage="" %>
<jsp:directive.page import="cbm.commons.ResultadoOperacionBean"/>
<jsp:directive.page import="cbm.commons.SessionContainer"/>
<jsp:directive.page import="cbm.commons.ConstantsWeb"/>
<%
	SessionContainer sc = (SessionContainer)session.getAttribute(ConstantsWeb.SESSION_CONTAINER);
	ResultadoOperacionBean resultadoOPeracion =   (ResultadoOperacionBean)sc.getTemporalElement(ConstantsWeb.RESULTADO_OPERACION);
%>
<html>
<head>
<title>Continuidad Banca Minorista</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<meta http-Equiv="Pragma" Content="no-cache">
<meta http-Equiv="Expires" Content="0">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/estilos.css"/>


<!-- INI: JQUERY STYLE -->
<!-- link rel="stylesheet" href="<%=request.getContextPath()%>/css/jquery.ui.base.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/jquery.ui.core.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/jquery.ui.theme.css" -->
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/demos.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/redmond/jquery-ui-1.8.13.custom.css">
<!-- FIN: JQUERY STYLE -->

<!-- INI: JQUERY SCRIPT -->
<script src="<%=request.getContextPath()%>/js/jquery/jquery-1.4.2.min.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.core.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.widget.js"></script>

<script src="<%=request.getContextPath()%>/js/jquery/external/jquery.bgiframe-2.1.1.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.position.js"></script>

<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.mouse.js"></script> 
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.draggable.js"></script> 
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.resizable.js"></script> 
<script src="<%=request.getContextPath()%>/js/jquery/ui/jquery.ui.dialog.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery/external/jquery.blockUI.js"></script>

<!-- script src="<%=request.getContextPath()%>/js/jquery-ui-1.8.13.custom.min.js"></script-->
<!-- FIN: JQUERY SCRIPT -->

<script src="<%=request.getContextPath()%>/js/cargando.js?sss=000" language="javascript"></script>

<script language="JavaScript">
	var cargandoPrincipal = true;
</script>

<script>
	function getPATH() {
		return document.getElementById("frmAux").action;
	}
	$(document).ready(function () {
		$("#ifrmContenido").load(function () {
			finalizarCargaPagina();
			var doc = this.contentWindow.document;
			var ins = doc.getElementsByTagName("input");
			if(ins != null) {
				for (var i = 0; i < ins.length; i++) {
					if(ins[i].name == "username") {
						window.parent.location = "seguridad/acceso.jsp";
					}
				}
			}
			//window.parent.location = "seguridad/acceso.jsp";
			if(cargandoPrincipal) {
				var frm = document.getElementById("ifrmContenido");
				frm.contentWindow.document.write("");
			}
		});
	});
	
	
</script>
</head>
<body>
<div id='cargaABCDE2' style='display: none;z-index: 5001;' >
	<table>
	<tr><td valign='middle'><center><img src='images/cargando.gif'/></center></td></tr>
	<tr style="display: none" id="btnCerrarCargado2"><td valign='middle'><input type="button" class="boton" style="width: 158px" value="Cerrar" onclick="javascript:finalizarCargaPagina();"/></td></tr>
	</table>
</div>

<form id="frmAux" action="<%=request.getContextPath()%>" method="post" style="display: none"></form>
<center>

<table align="center" cellpadding="0" cellspacing="0" width="790" height="100%"  border="0" class="bordePrincipal">
<tr><td>
<table align="center" cellpadding="0" cellspacing="0" width="790" height="100%" class="table2" border="0">
<tr><td style="height: 1% !important;" valign="top"><jsp:include page="/includes/header.jsp" flush="true"></jsp:include></td></tr>
<tr><td style="height: 27 !important;" class="m0l0oout"><div id="menu_principal"><jsp:include page="/includes/menu.jsp" flush="true"></jsp:include></div></td></tr>
<tr><td valign="top" style="height: 93% !important;">
<iframe id="ifrmContenido"  src="reporteria/inicial.jsp" style="width: 100%; height:100%;" frameborder="0"></iframe></td></tr>
<tr><td style="height: 1% !important;">
<jsp:include page="/includes/footer.jsp" flush="true"></jsp:include>
</td></tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>
<%sc.removeTemporales();%>